package com.unit.test.service.impl;

import com.unit.test.model.Email;
import com.unit.test.service.EmailService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author lht
 * @version 1.0
 * @date 2024/2/25 19:49
 * @description
 */
@Service
@Slf4j
public class EmailServiceImpl implements EmailService {
    @Override
    public Boolean sendmail(Email data) {
        // email 组件
        // ...
        log.info("正在发送邮件中~");
        return Boolean.TRUE;
    }
}
